//
//  Utils.h
//  client
//
//  Created by DuanHongbo on 15/5/13.
//
//

#ifndef __client__Utils__
#define __client__Utils__

#include <stdio.h>
#include "cocos2d.h"

USING_NS_CC;

class Utils{
public:
    static void captureScreen(const std::function<void(bool, Texture2D*)>& afterCaptured);
	static void showMessageBox(const char * title, const char * content);
	static std::vector<std::string> getCommandLineParam();
    static void setTextureHalfSizeEnable(bool enbale);
    static void addTextureHalfFilterRegex(const char * filterRegex);
    static void addTextureHalfIgnoreFilter(const char *filterPath);
    static bool checkStringIsEndWith(std::string& strSource, std::string& strCheck);
    static std::string getGpuInfo();
    static std::string getCpuInfo();
    static float getTotalMemoryGB();
    static std::string getTotalMemoryInfo();
    
};

#endif /* defined(__client__Utils__) */
